package team.hyznrj.studentsys.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

public class PasswordSecurity {
	/**
	 * MD5加密
	 * @param str
	 * @param salt
	 * @return
	 */
	public static String getMD5(String str,String salt){
		return new Md5Hash(str, salt).toString();
	}
}
